package org.future.dataanalysis;

import com.alibaba.fastjson.JSONObject;
import org.future.dataanalysis.bean.DataUnit;
import org.future.dataanalysis.bean.State;

import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author 86188
 */
public class Test implements BaseObjectAnalysis {

    @Override
    public boolean association(DataUnit data, Map<String, String> redisMap) {
        return false;
    }

    @Override
    public List<DataUnit> analysis(String dataItemId, DataUnit data, JSONObject json, State<?> state) {
        return Collections.singletonList(data);
    }

    public static void main(String[] args) {

    }
}
